package amushen.two.html.impl;

import amushen.two.html.BaseComponent;

public class TextBox extends BaseComponent {
	
	public String getTagName() {
		return "INPUT";		
	}
	
	public TextBox() {
		getProperties().put("type", "text");
		getProperties().put("value", "");
	}
	public String getValue() {
		return (String)getProperties().get("value");
	}

	public void setValue(String value) {
		getProperties().put("value", value);
	}

	public String getName() {
		return this.getId();
	}

	public void setName(String name) {
		this.setId(name);
	}
}
